.bpp-properties-tab-bar {
  border-bottom: 1px solid @bpp-tabs-border-color;
  padding: 0 15px;

  .scroll-tabs-button {
    font-size: 16px;
    padding: 3px 4px 3px 4px;
    color: @bpp-tabs-button-color;

    &:hover {
      font-weight: bold;
    }

    &.scroll-tabs-left {
      float: left;
      margin-left: -15px;
    }

    &.scroll-tabs-right {
      float: right;
      margin-right: -15px;
    }
  }

  &:not(.scroll-tabs-overflow) {
    .scroll-tabs-button {
      display: none;
    }
  }
}

ul.bpp-properties-tabs-links {
  margin: 5px 0 -1px 0;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;

  > li {
    display: inline-block;
    margin: 0;

    &.bpp-hidden {
      .bpp-hidden;
    }

    > a {
      display: inline-block;

      font-size: 12px;
      padding: 4px 7px;

      border: 1px solid @bpp-tabs-tab-link-border-color;
      border-radius: 3px 3px 0 0;
      border-bottom: transparent;

      background-color: @bpp-tabs-tab-link-background-color;
      color: @bpp-tabs-tab-link-color;

      text-decoration: none;

      cursor: default;

      &:hover {
        color: darken(@bpp-tabs-tab-link-color, 10%);
      }
    }
  }

  > li + li {
    margin-left: 4px;
  }

  > li.bpp-active {

    a {
      padding-bottom: 5px;

      border-top: 3px solid @bpp-tab-active-border-color;
      border-bottom: none;
    }
  }
}

.bpp-properties-tab,
.bpp-properties-tab.bpp-hidden {
  display: none;
}

.bpp-properties-tab.bpp-active {
  display: block;
}
